package org.jeecg.modules.yinsheng.command.quickpayment;

import java.io.Serializable;

import org.jeecg.modules.yinsheng.annotation.Length;
import org.jeecg.modules.yinsheng.annotation.NotBlank;

/**
 * @ClassName AuthorizationReqCommand
 * @Description TODO
 * @Author linxl
 * @Date 2021/6/7 15:41
 * @Version 1.0
 */

public class AuthorizationReqCommand implements Serializable {
	private static final long serialVersionUID = -7004907439437234967L;

	// 网关流水号（下发短息和支付授权使用该参数)
	@NotBlank(message = "网关流水号不能为空")
	private String paygateBizSn;

	// 支付短信验证码
	@NotBlank(message = "支付短信验证码不能为空")
	@Length(max = 6, message = "支付短信验证码最大长度不能超过6个字符")
	private String smsCode;

	// 卡片验证码（贷记卡必填）
	private String cardCvn2;

	// 卡片有效期（贷记卡必填）
	private String cardExprDt;

	public String getPaygateBizSn() {
		return paygateBizSn;
	}

	public AuthorizationReqCommand setPaygateBizSn(String paygateBizSn) {
		this.paygateBizSn = paygateBizSn;
		return this;
	}

	public String getSmsCode() {
		return smsCode;
	}

	public AuthorizationReqCommand setSmsCode(String smsCode) {
		this.smsCode = smsCode;
		return this;
	}

	public String getCardCvn2() {
		return cardCvn2;
	}

	public AuthorizationReqCommand setCardCvn2(String cardCvn2) {
		this.cardCvn2 = cardCvn2;
		return this;
	}

	public String getCardExprDt() {
		return cardExprDt;
	}

	public AuthorizationReqCommand setCardExprDt(String cardExprDt) {
		this.cardExprDt = cardExprDt;
		return this;
	}

}
